package cn.topevery.garden.entity.po;

import cn.topevery.garden.framework.base.BaseEntity;
import com.alibaba.fastjson.annotation.JSONField;
import hw.topevery.framework.annotation.DbTable;
import hw.topevery.framework.annotation.DbTableField;
import hw.topevery.framework.enums.DbTypeEnum;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 
 *
 * @author code-generate
 * @date 2022-01-05
 */
@Data
@DbTable(tableName = "t_gre_survey")
public class GreSurvey extends BaseEntity {
        /**
     * 区域Id
     */
    @DbTableField(columnName = "c_map_id", dbType = DbTypeEnum.INTEGER)
    public Integer mapId ;

    /**
     * 区域
     */
    @DbTableField(columnName = "c_map_name", dbType = DbTypeEnum.VARCHAR)
    public String mapName ;

    /**
     * 人口
     */
    @DbTableField(columnName = "c_person_cnt", dbType = DbTypeEnum.INTEGER)
    public Integer personCnt ;

    /**
     * 总面积
     */
    @DbTableField(columnName = "c_measure", dbType = DbTypeEnum.DOUBLE)
    public Double measure ;

    /**
     * 建成区面积
     */
    @DbTableField(columnName = "c_measure_jcq", dbType = DbTypeEnum.DOUBLE)
    public Double measureJcq ;

    /**
     * 修改人
     */
    @DbTableField(columnName = "c_db_update_id", dbType = DbTypeEnum.INTEGER)
    public Integer dbUpdateId ;

    /**
     * 修改时间
     */
    @DbTableField(columnName = "c_db_update_date", dbType = DbTypeEnum.TIMESTAMP)
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    public LocalDateTime dbUpdateDate ;

}
